package com.yn.common.request.sc;

import com.yn.common.enums.CarFleetTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 车队管理表
 * Request
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "CarManageRequest对象", description = "车队管理表")
public class CarFleetManageRequest implements Serializable {
    private static final long serialVersionUID=1L;

    /*@ApiModelProperty(value = "车队类型 1-个人 2-车队")
    @NotNull(message = "车队类型不能为空")
    private Integer fleetType;*/

    @ApiModelProperty(value = "车队名称")
    @NotBlank(message = "车队名称不能为空")
    @Length(max = 100, message = "车队名称最多100个字符")
    private String fleetName;

    @ApiModelProperty(value = "车队图片")
    @NotBlank(message = "请上传车队图片")
    @Length(max = 100, message = "图片url最多100个字符")
    private String fleetImageUrl;

    @ApiModelProperty(value = "车队简介")
    @NotBlank(message = "车队简介不能为空")
    @Length(max = 400, message = "车队简介最多400个字符")
    private String fleetIntro;

    @ApiModelProperty(value = "所在地区编码")
    @NotBlank(message = "所在地区编码不能为空")
    @Length(max = 255, message = "所在地区编码最多255个字符")
    private String regionCode;

    @ApiModelProperty(value = "车队地址")
    @NotBlank(message = "车队地址不能为空")
    @Length(max = 255, message = "车队地址最多255个字符")
    private String fleetAddress;

    @ApiModelProperty(value = "银行卡开户名")
    @NotBlank(message = "银行卡开户名不能为空")
    @Length(max = 255, message = "银行卡开户名最多255个字符")
    private String bankAccountName;

    @ApiModelProperty(value = "银行卡号")
    @NotBlank(message = "银行卡号不能为空")
    @Length(max = 255, message = "银行卡号最多255个字符")
    private String bankCardNo;

    @ApiModelProperty(value = "银行名称")
    @NotBlank(message = "银行名称不能为空")
    @Length(max = 255, message = "银行名称最多255个字符")
    private String bankName;

    @ApiModelProperty(value = "开户银行")
    @NotBlank(message = "开户银行不能为空")
    @Length(max = 255, message = "开户银行最多255个字符")
    private String branchBank;


    @ApiModelProperty(value = "车队负责人姓名")
    @NotBlank(message = "车队负责人姓名不能为空")
    @NotNull(message = "车队负责人姓名不能为空")
    @Length(max = 50, message = "车队负责人姓名最多50个字符")
    private String fleetCuratorName;

    @ApiModelProperty(value = "车队负责人电话")
    @NotBlank(message = "车队负责人电话不能为空")
    @Length(max = 30, message = "车队负责人电话最多30个字符")
    private String fleetCuratorPhonenumber;

    @ApiModelProperty(value = "车队负责人身份证号")
    @NotBlank(message = "车队负责人身份证号不能为空")
    @Length(max = 100, message = "车队负责人身份证号最多100个字符")
    private String fleetCuratorIdNumber;

    @ApiModelProperty(value = "运营资格材料")
    @NotBlank(message = "运营资格材料不能为空")
    @Length(max = 100, message = "运营资格材料最多100个字符")
    private String operationMaterial;
}
